package com.maoyan.quickdevelop.common.core.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.maoyan.quickdevelop.common.core.domain.dqabstract.DqStatusDispose;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 猫颜
 * @date 2021/5/27 21:53
 * 文章
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "dq_interview")
public class DqInterview extends DqStatusDispose implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "inter_id")
    private Long interId;

    @TableField(value = "inter_title")
    private String interTitle;

    @TableField(value = "inter_category")
    private String interCategory;

    @TableField(value = "inter_image")
    private String interImage;

    @TableField(value = "inter_info")
    private String interInfo;

    @TableField(value = "inter_technology")
    private String interTechnology;

    @TableField(value = "inter_phone")
    private String interPhone;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


    /**
     * 作者ID
     **/
    @TableField(value = "author_id")
    private Long authorId;

    /**
     * 作者的昵称
     **/
    @TableField(value = "author_nickname")
    private String authorNickname;
    /**
     * 作者的昵称
     **/
    @TableField(value = "author_username")
    private String authorUsername;






    @TableField(value = "inter_type")
    private String interType;
    @TableField(value = "inter_address")
    private String interAddress;
    @TableField(value = "inter_money")
    private String interMoney;

}
